﻿using System;
using System.Collections.Generic;
using System.IO;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;

namespace WCFServer
{
    [ServiceContract()]
    public interface IPeerNode
    {
        [OperationContract(IsOneWay = true)]
        void RequireResource(string addressRequirer, string resource);

        [OperationContract(IsOneWay = true)]
        void ResponseResource(string addressResponser, string addressRequirer, string resource);

        [OperationContract(IsOneWay = true)]
        void InvalidateNode(string address);
    }
}
